package mistags;

import java.io.IOException;

import javax.servlet.jsp.JspException;
import javax.servlet.jsp.JspWriter;
import javax.servlet.jsp.tagext.TagSupport;

public class SimpleTag extends TagSupport {
	@Override
	public int doStartTag() throws JspException {
		try {
				JspWriter out = pageContext.getOut();
				out.print("Producido desde SimpleTag");
			} catch(IOException ioe) {
				System.out.println("Error en SimpleTag: " + ioe);
			}
			return(SKIP_BODY);
	}
}
